#!/bin/sh

. scripts/functions

SCR=$cwd/bin/susan-ctl
sed "s:BACDIRBIN=$cwd/bin:BACDIRBIN=$bin:" $SCR-dir > tmp/1
mv tmp/1 $SCR-dir
sed "s:BACSDBIN=$cwd/bin:BACSDBIN=$bin:" $SCR-sd > tmp/1
mv tmp/1 $SCR-sd
sed "s:BACFDBIN=$cwd/bin:BACFDBIN=$bin:" $SCR-fd > tmp/1
mv tmp/1 $SCR-fd
chmod -x $cwd/bin/susan-fd $cwd/bin/susan-sd $cwd/bin/susan-dir $cwd/bin/bconsole
chmod +x $SCR-*
